package com.baway.message

import com.alibaba.android.arouter.facade.annotation.Route
import com.baway.base.path.RouterPath
import com.baway.common.event.CustomEvent
import com.baway.common.view.BaseMvvmFragment
import com.baway.message.databinding.FragmentMessageBinding
import dagger.hilt.android.AndroidEntryPoint
import org.greenrobot.eventbus.EventBus


@Route(path = RouterPath.PATH_MESSAGE_PAGE)
@AndroidEntryPoint
class MessageFragment : BaseMvvmFragment<FragmentMessageBinding>() {

    override fun getLayoutId(): Int = R.layout.fragment_message

    override fun onResume() {
        super.onResume()

        mDataBinding.root.postDelayed({
             EventBus.getDefault().post(CustomEvent("MainActivity", 8, 100))

        }, 2000)


    }


}